<?php
//Compiled by TIBlog Template Engine v2.0 , Created on : 2011-05-03 16:57:27
defined('IN_DTE') or exit('Access Denied');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>Administrator's Control Panel</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="/static/admin/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
</HEAD>
<BODY id=main>
<h2>热映中电影列表<a href="/admin/hotmovie/add" style="margin-left:20px;color:red">+ 新增&raquo;</a></h2>
<TABLE class=listtable cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TH align=left>电影名称</TH>
	<TH width=100>上映时间</TH>
	<TH width=100>下映时间</TH>
	<TH width=120>加入时间</TH>
    <TH width=55>管理操作</TH></TR>
	<?php
if (!empty($_obj['movieList'])){
if (!is_array($_obj['movieList']))
$_obj['movieList']=array(array('movieList'=>$_obj['movieList']));
$_tmp_arr_keys=array_keys($_obj['movieList']);
if ($_tmp_arr_keys[0]!='0')
$_obj['movieList']=array(0=>$_obj['movieList']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['movieList'] as $rowcnt=>$movieList) {
$movieList['ROWCNT']=$rowcnt;
$movieList['ALTROW']=$rowcnt%2;
$movieList['ROWBIT']=$rowcnt%2;
$_obj=&$movieList;
?>
	<TR class=darkrow>
		<TD><a href="/admin/movie/edit/<?php
echo $_obj['id'];
?>
/"><?php
echo $_obj['title'];
?>
</a></TD>
		<TD align=center><?php
echo $_obj['playtime'];
?>
</TD>
		<TD align=center><?php
echo $_obj['endtime'];
?>
</TD>
		<TD align=center><?php
echo $_obj['addtime'];
?>
</TD>		
		<TD align=center>
		<a href="/admin/hotmovie/edit/<?php
echo $_obj['k'];
?>
/">修改</a>
		<a href="/admin/hotmovie/del/<?php
echo $_obj['k'];
?>
/" onClick="return confirm('强烈建议不要删除热映中数据！请使用修改功能。确认删除？');">删除</a></TD>
	</TR>
	<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
</TBODY></TABLE>

<br>

</BODY></HTML>
